package kr.hyunist.androidcomplete01saeildamil.ch07;

import kr.hyunist.androidcomplete01saeildamil.*;
import android.app.*;
import android.content.*;
import android.os.*;
import android.view.*;

public class Ch07Activity extends Activity {
	Intent intent = null;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.ch07activity);
	}

	public void mOnClick(View v) {
		switch (v.getId()) {
		case R.id.ch07subtitle1:
			intent = new Intent(this, CustomView.class);
			break;
		case R.id.ch07subtitle2:
			intent = new Intent(this, NewPaint.class);
			break;
		case R.id.ch07subtitle3:
			intent = new Intent(this, MirrorPaint.class);
			break;

		case R.id.ch07subtitle4:
			intent = new Intent(this, ToastTest.class);
			break;
			
		case R.id.ch07subtitle5:
			intent = new Intent(this, BingoExercise.class);
			break;	
			
		case R.id.ch07subtitle6:
			intent = new Intent(this, VibratorTest.class);
			break;
		}

		startActivity(intent);
	}
}
